﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WUC_LoginPanel.ascx.cs"
    Inherits="Cn.Cellula.Website.Wuc.WUC_LoginPanel" %>
<link type="text/css" rel="Stylesheet" href="/Cellula_Client/Controls/LoginPanel.css" />
<script type="text/javascript" src="/cellula_client/Controls/LoginPanel.js"></script>
<div class="loginpanel_panel">
    <table cellpadding="3" cellspacing="3">
        <tr>
            <td>
                <input type="text" id="txt_Name" onkeydown="loginPanel.onKeyDown(this,event)" onfocus="loginPanel.onNameFocus(this,event)"
                    onblur="loginPanel.onNameBlur(this,event)" class="loginpanel_txt" tabindex="1" />
                <input type="hidden" id="hid_Name" />
            </td>
            <td rowspan="3" valign="top">
                <input type="button" id="btn_Login" value="登录" class="loginpanel_btn_login"
                    onclick="loginPanel.doLogin();" tabindex="5" />
            </td>
        </tr>
        <tr>
            <td>
                <input type="text" id="txt_Pwd" onfocus="loginPanel.onPwdFocus(this,event)"  class="loginpanel_txt"  tabindex="1" />
                <input type="password" id="pwd_Pwd" style="display: none; "   class="loginpanel_txt" onkeydown="loginPanel.onKeyDown(this,event)"
                    onblur="loginPanel.onPwdBlur(this,event)"  tabindex="1" />
            </td>
        </tr>
        <tr>
            <td>
                <table cellpadding="0" cellspacing="0">
                    <tr>
                        <td><input type="text" id="txt_ValidateCode" class="loginpanel_mark" onkeydown="loginPanel.onKeyDown(this,event)"  tabindex="2" /></td>
                        <td>&nbsp;</td>
                        <td><img src="Ws/_ValidateCodeImg.aspx" onclick="loginPanel.changeCodeImg()" alt="校验码" id="img_ValidateCode" style="border:0px;" /></td>
                        <td>&nbsp;</td>
                        <td><a href="javascript:loginPanel.changeCodeImg()" tabindex="4">换一个</a></td>
                    </tr>
                </table>
             </td>
        </tr>
        <tr>
            <td>
                <input type="checkbox" name="cbx_Cookie" id="cbx_Cookie" tabindex="3" />下次自动登录
            </td>
        </tr>
    </table>
    <div class="loginpanel_info" id="lab_info" style="display: none" onclick="loginPanel.closeInfo()">
    </div>
</div>

<script type="text/javascript">
    var loginPanel = new LoginPanel();
    loginPanel.setLoginProperty("<%=LoginProperty %>");
    loginPanel.init();
</script>

